//=============================================================================
// PB Pickup.
//=============================================================================
class PBPickup extends KFWeaponPickup;

/*
function ShowDeagleInfo(Canvas C)
{
  C.SetPos((C.SizeX - C.SizeY) / 2,0);
  C.DrawTile( Texture'KillingfloorHUD.ClassMenu.PB', C.SizeY, C.SizeY, 0.0, 0.0, 256, 256);
}
*/

function inventory SpawnCopy( pawn Other )
{
	local Inventory I;

	For( I=Other.Inventory; I!=None; I=I.Inventory )
	{
		if( PB(I)!=None )
		{
			if( Inventory!=None )
				Inventory.Destroy();
			InventoryType = Class'DualPB';
			I.Destroyed();
			I.Destroy();
			Return Super.SpawnCopy(Other);
		}
	}
	InventoryType = Default.InventoryType;
	Return Super.SpawnCopy(Other);
}

defaultproperties
{
     Weight=4.000000
     cost=750
     AmmoCost=15
     BuyClipSize=7
     PowerValue=65
     SpeedValue=35
     RangeValue=60
     Description="50 Cal AE handgun. A powerful personal choice for personal defense."
     ItemName="PB"
     ItemShortName="PB"
     AmmoItemName=".300 JHP Ammo"
     showMesh=SkeletalMesh'PbpistolDT_A.PB3rd'
     CorrespondingPerkIndex=2
     EquipmentCategoryID=1
     InventoryType=Class'UnitedMut_v54.PB'
     PickupMessage="You got the PB"
     PickupSound=Sound'KF_HandcannonSnd.50AE_Pickup'
     PickupForce="AssaultRiflePickup"
     StaticMesh=StaticMesh'pb3rd.pb3rd'
     CollisionHeight=5.000000
}
